{extend name="main"}

{block name="button"}

{/block}

{block name="content"}
<form onsubmit="return false;" data-auto="true" action="{:url('save')}" method="post" class='layui-form layui-card' autocomplete="off">
    <div class="layui-card padding-20 shadow">
        <div class="layui-card-header notselect">
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">轮播时间：</label>
            <div class="layui-input-block">
                <input name="index_video_carousel_time" type="number" value="{:sysconf('index_video_carousel_time')}" placeholder="请输入视频轮播时间" class="layui-input">
                <p class="help-block">时间单位为分钟</p>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">巡店时间间隔：</label>
            <div class="layui-input-block">
                <input name="tour_time_interval" type="number" value="{:sysconf('tour_time_interval')}" placeholder="请输入巡店时间间隔" class="layui-input">
                <p class="help-block">时间单位为分钟</p>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">报警时间间隔：</label>
            <div class="layui-input-block">
                <input name="early_warn_time_interval" type="number" value="{:sysconf('early_warn_time_interval')}" placeholder="请输入报警时间间隔" class="layui-input">
                <p class="help-block">时间单位为分钟</p>
            </div>
        </div>
        <div class="layui-form-item text-center padding-bottom-10">
            {if auth("save")}
            <button class="layui-btn" type="submit">保存</button>
            {/if}
        </div>
    </div>
</form>

{/block}